package com.bj.zspace.boot.client.controller;

import com.bj.zspace.boot.client.service.HelloServiceImpl;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class HelloController {

    @Resource
    private HelloServiceImpl helloService;

    @GetMapping(value = "/hello")
    public String hello(){
        return helloService.hello();
    }

}
